package com.baizhi.cmfz.service;

import com.baizhi.cmfz.entity.Banner;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface BannerService {

    public Map selectByPageBanner(int page, int limit);

    Map insertBanner(Banner banner);

    Map deleteBanner(Integer bannerId);

    Map updateBanner(Banner banner);

    Banner selectOneBanner(Integer id);

    Map updateState(Integer id, Integer state);
}
